package com.myteam.mystory.DAO;

import android.database.sqlite.SQLiteDatabase;

public class AuthorScheme {
	public static final String TABLE_AUTHOR_NAME = "author";
	public static final String AUTHORID = "authorid";
	public static final String FNAME = "fname";
	public static final String ACODE = "acode";
	public static final String LNAME = "lname"; // ten tac gia thuong lay truc
												// tiep tren Server ve.. co can
												// thiet phai firstName lastName
												// khong

	private static final String DATABASE_CREATE_AUTHOR = "Create Table "
			+ TABLE_AUTHOR_NAME + "(" + AUTHORID + " interger primary key, " + FNAME
			+ " text, " + LNAME + " text, " + ACODE + " text not null) ";

	public static void onCreate(SQLiteDatabase db) {
		db.execSQL(DATABASE_CREATE_AUTHOR);
	}
}
